home *** CD-ROM | disk | FTP | other *** search
- Path: news.nacm.com!usenet
- From: brandon@criterion.com (Brandon Wallace)
- Newsgroups: comp.lang.c++
- Subject: Re: #include"#include"thing.h""
- Date: 29 Mar 1996 21:43:10 GMT
- Organization: Nicholas|Applegate Capital Management, San Diego, CA
- Message-ID: <4jhlhe$4b0@news.nacm.com>
- References: <1996Mar23.150917.1@orion.alaska.edu>
- NNTP-Posting-Host: 204.255.80.4
- X-Newsreader: knews 0.9.2
- In-Reply-To: <1996Mar23.150917.1@orion.alaska.edu>
- To: pfennig@alaska.net
-
- In article <1996Mar23.150917.1@orion.alaska.edu>,
- axmmm@orion.alaska.edu writes:
-
- Try this:
-
- class Thing;
-
- class ThingList
- {
- Thing *head;
- Thing *tail;
- };
-
- class Thing
- {
- // stuff...
-
- Thing *next;
- Thing *prev;
-
- static ThingList allThings;
- };
- --
- Brandon Wallace
- Nicholas | Applegate Capital Management
- mailto:bman@houston.nacm.com
- http://www.houston.nacm.com/home-pages/brandon
- "I live life face down in the fast lane."
-
-